
export const showLocalImage = {
	data() {
		return {
			img_local_src: '',
		};
	},
	created() {

	},
	methods: {

		getUploadImage(file) {
			const self = this;

			const reader = new FileReader();

			reader.readAsDataURL(file);

			reader.onload = function getImageUrl(event) {
				self.img_local_src = event.target.result;
			};
		},

	},
};

// export default showLocalImage;
